import java.sql.SQLOutput;

public class Try {
    /**
     * 复习java数据类型
     */

    public static void main(String[] args) {
        //基本数据类型
        //1.整型

        /*int a ;
        a = 1;
        System.out.println(a);
        int b = 2;
        System.out.println(b);
        int c ;
        System.out.println(c);*/

        /*int a = 1;
        System.out.println(a);
        System.out.println(Integer.MIN_VALUE);
        System.out.println(Integer.MAX_VALUE);

        byte b = 1;
        System.out.println(b);
        System.out.println(Byte.MIN_VALUE);
        System.out.println(Byte.MAX_VALUE);*/

        /*String a = "I'M";
        int b = 22;
        String c = a+b;
        String d = String.valueOf(b);
        System.out.println(c);
        System.out.println(a+d);*/

        //字符串转换为整型
        String a = "10087";
        System.out.println(a);

        int b = Integer.parseInt(a);
        System.out.println(b);

    }
}
